package yagwl.client.model;

import com.google.gwt.event.shared.SimpleEventBus;

/**
 * Singleton {@link SimpleEventBus} instance. Data sources will fire
 * ItemListEvent by calling SimpleEventBus.fireEvent. Widgets interested in
 * ItemListEvent will register themselves as handlers by calling
 * HandlerManager.addHandler. The SimpleEventBus instance will wire-up the two.
 */
public class DataReadyEventBus {
  private static final SimpleEventBus handler = new SimpleEventBus();

  public static SimpleEventBus getInstance() {
    return handler;
  }
}
